Error Codes
This page describes the HTTP status codes and error messages that can be returned by the Predis.ai API. The sample response below shows an example of HTTP status code 429
Sample Response
{
"API Limits": {
"api_request_in_last_one_hour": 0,
"total_requests_allowed_per_hour": 0
},
"message": "Invalid API key. Please provide valid API Key."
}
Error Codes Defined
The table below shows all possible HTTP status codes and error codes that can be returned by the API and the recommended solution.
HTTP Status Code | Error Code | User message | Recommended solution |
---|---|---|---|
429 | 001 | Maximum number of hourly requests reached | You have been rate-limited. Wait for sometime and try again. |
400 | 002 | Invalid brand_id provided | You have provided an invalid brand_id . Please provide a valid brand_id parameter and try again. Read more here |